import request from '@/utils/request'
export function getOrderList({ page, keyword, order_status, start_time, end_time, type }) {
  return request({
    url: '/admin/order/list',
    method: 'get',
    params: { page, keyword, order_status, start_time, end_time, type }
  })
}
export function getOrderDetail(order_id) {
  return request({
    url: '/admin/order/orderInfo',
    method: 'get',
    params: { order_id }
  })
}
export function getOrderStatusNum() {
  return request({
    url: '/admin/order/getCommonOrderStatusNum',
    method: 'get'
  })
}

